Skip to main content

mediaFoundationReaderStreamIsSelected

Type​

function

Summary​

Query if the stream is selected Platform:desktop

Syntax​

mediaFoundationReaderStreamIsSelected(<pFilePath>, <pStreamIndex>)

Description​

The reader must already be created with mediaFoundationCreateReader. A selected stream will be included in the streams that are read from when transcoding the file.

*Note

*:See the mediaFoundationTranscode documentation for a complete example of using this handler.

Parameters​

NameTypeDescription

pFilePath

string

The path to a media file

pStreamIndex

integer

An integer between 1 and the number of streams

command: mediaFoundationTranscode, mediaFoundationCreateReader

Compatibility and Support​

OS

windows

Thank you for your feedback!

Was this page helpful?